<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>firebroo's blog</title>

    <link href="//cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
    <script src="//cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="//cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
    <style type="text/css">
        .main {
            MARGIN-RIGHT: auto;
            MARGIN-LEFT: auto;
            width: 400px;
            vertical-align: middle;
        }
        div {
            position: relative;
        }
    </style>
</head>

<div id="title" style="text-align: center;">
    <h1>firebroo's Blog</h1>

    <div style="padding: 5px; font-size: 16px;">喵~</div>
</div>
<hr>
<div id="content">
    <div class="main">
    <ul>
        @foreach ($articles as $article)
                <li>
                    <a href="{{ url('article/'.$article->id) }}">
                        <h2>{{ $article->title }}</h2>
                    </a>
                </li>
        @endforeach
    </ul>
    </div>
</div>

</body>
</html>  
